package com.cdtye.itps.cms.dao.warn.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 *
 * @author
 * @date 2021-11-23
 */
@ApiModel("")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("JCJC_WARN_INFORMATION")
public class JcjcWarnInformation extends BaseEntity {

    @ApiModelProperty(value = "预警信息标题")
    private String warnTitle;

    @ApiModelProperty(value = "信息简介")
    private String description;

    @ApiModelProperty(value = "Y：invalid   N：valid")
    private String delFlag;

    @ApiModelProperty(value = "预警内容")
    private byte[] content;

    @ApiModelProperty(value = "信息类型")
    private String warnType;


    @TableField(exist = false)
    @ApiModelProperty(value = "富文本内容byte数组")
    private byte[] contentByte;

    @TableField(exist = false)
    @ApiModelProperty(value = "预警内容")
    private String contentString;

    @TableField(exist = false)
    @ApiModelProperty(value = "附件list")
    private List<JcjcWarnFiles> imagesList;

    @TableField(exist = false)
    private String createDate;
}
